@payroll
Feature: Payroll Management Functionalities
File name: payroll.feature
Relative path: features/payroll.feature
Given
TR user logged into the application
Then
TR user creates a new labor order
Then
TR user verifies that the labor order is pushed to the summary sheet and verifies the details
Then
TR user creates a timesheet for the same labor order
Then
user click on logout button
Then
Ops user logged into the application
Then
Ops user submits and approve the timesheet
locator.waitFor: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//a[normalize-space()=\'Payroll Management Dashboard\']') to be visible
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
locator resolved to hidden (a _ngcontent-kmh-c81="" class="dropdown-item" href…) Payroll Management Dashboard (/a)
============================================================
at PlaywrightWrapper.(anonymous) (C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:64:54)
at step (C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:33:23)
at Object.next (C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:14:53)
at C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:8:71
at __awaiter (C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:4:12)
at PlaywrightWrapper.waitAndClick (C:\SOTA-AUTOMATION\src\helper\wrapper\PlaywrightWrappers.ts:58:16)
at yardOrderPagePOC.(anonymous) (C:\SOTA-AUTOMATION\src\pages\yardOrderPOC.page.ts:999:56)
at step (C:\SOTA-AUTOMATION\src\pages\yardOrderPOC.page.ts:33:23)
at Object.next (C:\SOTA-AUTOMATION\src\pages\yardOrderPOC.page.ts:14:53)
at fulfilled (C:\SOTA-AUTOMATION\src\pages\yardOrderPOC.page.ts:5:58)
Then
Click on batch number
Then
Click on shift
Then
Verify Save Info functionality
Then
Verify View timehseet functionality
Then
Verify back button functionality
Then
Verify timehseet report
Then
Verify steady list report
Then
verify steady recap report
Then
user click on logout button
Given
TR user logged into the application
Then
user open payroll managemnt dashboard
Then
Click on batch number
Then
verify OCU log history
Then
verify download batch report
Then
Click on shift
Then
verify the link in child tab payroll-timesheet screen
Then
user click on logout button
Then
OCU user logged into the application
Then
OCU user does the Batch ready and the does batch Unready
// With Callbacks
Then (/^OCU user does the Batch ready and the does batch Unready$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^OCU user does the Batch ready and the does batch Unready$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
OCU user does SOTA approval
// With Callbacks
Then (/^OCU user does SOTA approval$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^OCU user does SOTA approval$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
Verify difference report generated
// With Callbacks
Then (/^Verify difference report generated$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^Verify difference report generated$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
Accounting user logged into the application
Then
Accounting user does the final approval
Then
Accouting user does PMA un approval and SOTA Un approval